BIN=bin
all: $(BIN)
	(cd c/source;	make)
	(cd java/Hotel;	make)
	cp -fr c/bin/* $(BIN)
	cp -fr java/Hotel/bin/* $(BIN)

$(BIN):
	mkdir $(BIN)

clean:
	(cd c/source;	make clean)
	(cd java/Hotel;	make clean)
	rm -fr bin/*

tar: clean
	tar -cf marek.kirejczyk.tar bin/hotelclient  bin/hotelgw bin/hotelserver c doc/*.pdf java Makefile
